
package com.campus.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("课程学习单元创建")
public class TCourseLearnUnitSelectVo {


  @ApiModelProperty("学习单元id")
  private Long id;

  @ApiModelProperty("学习单元名称")
  private String unitTitle;

  @ApiModelProperty("学习单元文档路径")
  private String docPath;

  @ApiModelProperty("学习单元视频路径")
  private String videoPath;

  @ApiModelProperty("学习单元介绍")
  private String unitIntroduce;

  @ApiModelProperty("学习单元父id")
  private Long fatherId;

  @ApiModelProperty("是否为章节")
  private String isChpt;

  @ApiModelProperty("课程id")
  private Long courseId;

  @ApiModelProperty("学习本单元所得积分")
  private Long learningScore;

  @ApiModelProperty("子单元")
  private List<TCourseLearnUnitSelectVo> children;
}
